/**
 * Created by Administrator on 2018/11/3.
 */
var Companies = require("../models/companies");
/**
 * 公司列表
 */

module.exports = function (data, response) {

  Companies.find(function (err, res) {
    if (err) {
      console.log("Error:" + err);
    }
  }).then(function (res) {
    response.json(res);
  });

}
